package com.wanshi.member.service;

import com.wanshi.member.base.Result;
import com.wanshi.member.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wanshi.member.entity.Member;
import com.wanshi.member.req.GoodsREQ;

/**
 * <p>
 * 商品信息表 服务类
 * </p>
 *
 * @author 顽石教育-www.wanshi.com
 * @since 2021-05-08
 */
public interface IGoodsService extends IService<Goods> {

    Result update(int id, Goods goods);

    Result search(long page, long size, GoodsREQ req);

    Goods findById(int id);
}
